<!DOCTYPE html>
<!-- saved from url=(0065)http://m.smallbearshop.net/bearshop/index.php?act=index&op=mobile -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link href="<?php echo TEMPLATE_SITE_URL;?>/css/common.css" rel="stylesheet" type="text/css">
    <meta name="format-detection" content="telephone=no">
	<title>新品开拍</title>
    <style type="text/css">
        * {
            outline: none;
            -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
            vertical-align: baseline;
            font-style: normal;
        }

        body {
            margin: 0;
            padding: 0;
            font-size: 12px;
            font-family: Microsoft Yahei, Arial, Simsun, Helvetica, Segoe UI, sans-serif;
            color: #404040;
            background-color: #efeff4;
        }

        img {
            border: 0
        }

        ul, ol, li, dt, dl, dd {
            text-decoration: none;
            list-style: none;
            vertical-align: middle;
            margin: 0;
            padding: 0;
        }

        a,
        a:visited {
            color: #373737;
            text-decoration: none;
        }

        .blank {
            width: 100%;
            height: 20px;
        }
		#getCode {color:#777;margin-right:20px;text-align:right;margin-top:8px;background:#fff;float:right;cursor:pointer;}
		 .blank {
            width: 100%;
            height: 20px;
        }

        .clear, .space {overflow: hidden; height: 0px; line-height: 0px; background: none; border: none; padding: 0; margin: 0;}
        .clear {clear: both;}
		.userinfoMain {
            width: 100%;
            background-color: #FFF;
			border-radius:6px;
            display: table;
			margin:15px 0px;
			margin-bottom:80px;
        }
		.userinfoMainIn{padding:10px;}
        .newarriveDiv {padding:0px 15px;}
		.newarriveTop {position:relative;}
		.newarriveTop img {
		    width: 100%;
		    height: auto;
		    max-height: 220px;}
		.newarriveTopTitle {width:100%;height:30px;line-height:30px;position:absolute;bottom:5px;background:rgba(0,0,0,0.5)}
		.newarriveTopTitle span {color:#fff;margin-left:15px;margin-right:15px;}
		.newarriveBottom li {height:50px;border-top:#efeff4 1px solid;margin-top:8px;padding-top:8px;}
		.newarriveBottom li img {width:40px;height:40px;margin-top:5px;float:right;}
		.newarriveBottom span {width:80%;line-height:22px;font-size:1.2em;float:left;}
        .postDate {color:#fff;width:150px;text-align:center;height:25px;line-height:25px;background:#d3d3d3;border-radius:4px;margin:20px auto;}
		.showMore {color:#596994;width:70px;height:23px;font-size:1.2em;padding-left:30px;background:url(<?php echo TEMPLATE_SITE_URL;?>/images/show_more.png) left center no-repeat;display:block;line-height:23px;margin:20px auto;}
    </style>
</head>

<body>
<div id="contentbox" >
	<div class="newarriveDiv">
		<a class="showMore" href="javascript:;">查看更多</a>
		
  </div> 
</div>

<input type="hidden" name="haspage" value="1" id="haspage">
<input type="hidden" name="pagenum" value="0" id="pagenum">

<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/js/zepto.js" charset="utf-8"></script>
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/js/touch.js" charset="utf-8"></script>

<script type="text/javascript">

$(function(){
	
	$('.showMore').click(function(){

        var haspage = parseInt($('#haspage').val());
        if(haspage=='0'){
			return false;
		}
		var pagenum = parseInt($('#pagenum').val());
		var nextpage = eval(pagenum+1);
				
		ajaxdata(nextpage);
		
	});

	function ajaxdata(nextpage){
		$.ajax({
			type:'get',
			url:'index.php?act=discover&op=newsdata',
			data:{nextpage:nextpage},
			dataType:'html',
			success:function(html){
				if(html==''){
					$('#haspage').val('0');
					$('.showMore').hide();
				}else{
					$('.showMore').html('查看更多');
					$('#pagenum').val(nextpage);
					$('.showMore').after(html);
				}
			},
			beforeSend:function(){
				$('.showMore').html('玩命加载中');
			}
		});
	}

	ajaxdata(1);
});



</script>
<?php include template('home/nav');?>
</body></html>